public class BOOLEAN extends ANY
{
  private  boolean m_object;
  public  BOOLEAN()
  {
  }
  
  public BOOLEAN(boolean b)
  {
   m_object=b;
  }
  
  public boolean get()
  {
   return m_object;
  }
  
  public BOOLEAN BOOLEANCLONE()
  {
   return new BOOLEAN(m_object);
  }
  
  public BOOLEAN BOOLEANMNOT()
  {
   return new BOOLEAN(!m_object);
  }
  
  public BOOLEAN BOOLEANMIMPLIES(BOOLEAN a)
  {
    return new BOOLEAN( !get()  || a.get() );
  }
  
  public BOOLEAN BOOLEANMANDTHEN(BOOLEAN a)
  {
    return new BOOLEAN( get()  && a.get() );
  }

  public BOOLEAN BOOLEANMORELSE(BOOLEAN a)
  {
    return new BOOLEAN( get()  || a.get() );
  }
  
  public BOOLEAN BOOLEANMOR(BOOLEAN a)
  {
    return new BOOLEAN( get()  || a.get() );
  }

  public BOOLEAN BOOLEANMAND(BOOLEAN a)
  {
    return new BOOLEAN( get()  && a.get() );
  }

  public BOOLEAN BOOLEANMXOR(BOOLEAN a)
  {
    return new BOOLEAN( get()  ^ a.get() );
  }
  
}